//
//  NSBundle+SFEmoticon.m
//  SFEmoticon
//
//  Created by 许博 on 16/7/18.
//  Copyright © 2016年 许博. All rights reserved.
//

#import "NSBundle+SFEmoticon.h"
#import "SFEmoticonInputView.h"

@implementation NSBundle (SFEmoticon)
NSString *const SFEmoticonBundleName = @"SFEmoticon.bundle";



+ (instancetype)sf_emoticonBundle {
    
    NSBundle *bundle = [NSBundle bundleForClass:[SFEmoticonInputView class]];
    NSString *bundlePath = [bundle pathForResource:SFEmoticonBundleName ofType:nil];
    
    return [NSBundle bundleWithPath:bundlePath];
}

@end
